<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/13
 * Time: 12:59
 */
 namespace app\common\model;
use think\Model;


 class UserModel extends Model{


     //表名
     protected $table = 'dx_user';
     public function project()
     {
         return $this->hasMany('ProjectModel', 'user_id', 'user_id');
     }

 }
